{template "header.html", "/"}
<div class="work-box">
    <div class="work-left">
        <div class="mid-box-top">
            <div class="mid-box-top-left">
                <img src="{THEME_PATH}party/images/redlogo.jpg" alt="">
                <span>{dr_cat_value(2, 'name')}</span>
            </div>
        </div>
        {module catid=$catid order=updatetime page=1}
            <a href="{$t.url}">
            <li>
                <span class="sp">{dr_strcut($t.title,12)}</span>
            </li>
        </a>
        {/module}
        <img src="{THEME_PATH}party/images/left.jpg" alt="" class="work-left-img">
    </div>
    <div class="work-right">
        <div class="work-right-top">
            <div class="work-right-top-ti">{dr_cat_value($catid, 'name')}</div>
            <div class="top-ti-r"> 当前位置: <a href="{SITE_URL}"> 首页 </a> > <a href="{dr_cat_value($catid, 'url')}">{dr_cat_value($catid, 'name')}</a>
            </div>
        </div>
        <ul>
            {loop $related $t}
            <a href="{$t.url}">
                <li>
                    <span class="sp">{dr_strcut($t.name,30)}</span>
                </li>
            </a>
            {/loop}
        </ul>
        <div class="page-box">
            {$pages}
        </div>
    </div>
</div>

<script>
    $('.page-active')[0].style = 'background: #c50c11'
    $('.page-active a')[0].style = 'color: #fff;'
</script>

{template "footer.html", "/"}